EFFECT_PLAY
[[EFFECT_PLAY: path_audio_file]]
hQuestMaster provides two audio channels: the background audio channel (Background) and a second audio channel intended for effects (Effect) that can be used to play audio tracks (in .mp3 format).
This action is used to start playing an audio track (in .mp3 format), specified as the path (online) to the file itself, on the Effects audio channel. The path must be a complete URL with a protocol, such as https://website_hosting_the_mp3.com/track.mp3
- Example 1:
{[[(1), ON_SHOW(1)]] [[EFFECT_PLAY: path_1]] }
- Example 2:
{[[(2), ON_SHOW(2)]] [[EFFECT_PLAY: path_2]]}
{[[(3), ON_DEATH(D3)]] [[EFFECT_STOP]]}
Attention : The audio volumes of these channels can only be modified by the user through the hQuestMaster settings.